<style data-app-loading="inject-css">
  html {
    /* same as ant-design-vue/dist/reset.css setting, avoid the title line-height changed */
    line-height: 1.15;
  }

  .dark .loading {
    background-color: #0d0d10;
  }

  .dark .loading .title {
    color: rgb(255 255 255 / 85%);
  }

  .loading {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    background-color: #12425C;
  }

  .loading.hidden {
    visibility: hidden;
    opacity: 0;
    transition: all 0.6s ease-out;
  }

  .loading .title {
    margin-top: 36px;
    font-size: 30px;
    font-weight: 600;
    color: rgb(0 0 0 / 85%);
  }


  /* 定义加载动画的样式 */
  @keyframes rotate {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }
  }

  .loading .loadingCircle {
    width: 100px;
    height: 100px;
    border: 5px solid #ccc;
    border-top-color: #00ffff;
    border-radius: 50%;
    animation: rotate 1s linear infinite;
    margin: 100px auto;
  }
</style>
<div class="loading"
  id="__app-loading__">
  <div class="loadingCircle"></div>
  <div class="title">
    <%= VITE_APP_TITLE
      %>
  </div>
</div>